package com.example.fw;

import org.openqa.selenium.By;
import org.openqa.selenium.By.ByClassName;

public class NavigationHelper extends WebDriverHelperBase {

	public NavigationHelper(ApplicationManager manager) {
		super(manager);
	}
	
	public NavigationHelper goToManageSection() {
		click(By.xpath("//a[contains(@href, '/manage_overview_page.php')]"));
		return this;
	}
	
	public NavigationHelper goToManageUsersSection() {
		goToManageSection();
		click(By.xpath("//a[contains(@href, '/manage_user_page.php')]"));
		return this;
	}

}
